A GOptionArgFunc should return gboolean and take also a GError pointer
authorTor Lillqvist <tml@iki.fi>
Mon, 12 Jan 2009 12:05:13 +0000 (12:05 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 12 Jan 2009 12:05:13 +0000 (12:05 +0000)
commit550d4d185b901485da12deb94a3117e0328bf460
tree5d765578e13e968d334f3d74b3f783c556283999
parentd25a8b200c95bacc1b55f018c1388e9cdaf27252
A GOptionArgFunc should return gboolean and take also a GError pointer

2009-01-12  Tor Lillqvist  <tml@iki.fi>

* gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A
GOptionArgFunc should return gboolean and take also a GError
pointer parameter, so make these two functions do that. Return
FALSE (and set the GError) if the parsing of the debug string
failed completely. Note that g_parse_debug_string() doesn't really
have any way to return parsing status, and accepts partially
incorrect strings, though.

svn path=/trunk/; revision=22095
ChangeLog
gdk/gdk.c